-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
downgrade autoconf to 2.69 #508
Conversation
Workaround for #502
right, dunno anything about how github actions work, what's the caching behavior here? is it resetting my downgrade @kazu-yamamoto ? |
I don't know github action well. I have just re-started the actions. |
The same result, sigh. |
sigh why is it stuck now for hours in a queue.. |
I canceled and re-run this jobs. |
Thanks! That seems to have worked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now LGTM
Merged. Thank you for your effort! |
Edit: I was wrong, this fails only with cabal 3.4. Still this breaks the Haskell ecosystem, since cabal 3.4. is still the default, see #513. May I suggest to remove this workaround? It probably obscured the failure described in haskell/cabal#7707 --- basically cabal 3.4 fails with the new config.guess and config.sub files and cabal 3.6.0 that had a specific fix for them probably fails too, and cabal 3.6.2 that had a different fix definitely fails as well. |
I miss how this change which is only in network's CI file can affect your builds at all. |
I does not. But it masks network package failures in network package CI, which led to network being released with files that cabal is unable to consume. |
Hmm but there's no failure in network. The only cabal that works with Removing this means we can't test network on Windows at all, which is a worse state to be in. The question now is should the release of network be hidden on hackage until cabal 3.6.2 is released. But whatever happens here you'll never be able to compile network with cabal 3.4 again while supporting other platforms like the M1, so that goal is unrealistic. People who want to use network on Windows are forced to use |
I thought 3.6.2 doesn't work, but I was wrong: missing that our CI depends on 3.4 working and only then checks current branch. You have a point and I was only complaining a problem was masked. Perhaps let's move this discussion to #513? |
Sure, I think there's a perfect storm here though. 3.4 can really only work if you downgrade autoconf. So if ghcup wants to still support it it needs to do that action itself. Afterall, network isn't the only configure based package. Any user package can have the same issue. We're only focusing on Network because I guess it's widely used. |
Moving breakage from one platform to another is not a solution.
So the fallout is much lower. You're gonna break a lot of CIs right now due to this new point-release. Cabal based projects on windows using cabal-3.4.0.0 will pick it up and fail. |
@hasufell This ticket is completely independent of your issue. As I mentioned 3 times now already. Network can make a release using an older autoconf, that is completely independent from the CI and this PR. and it's also completely independent from the fact that you're choosing to stay with 3.4. So I will repeat it again, for the 4th time. @kazu-yamamoto can make a release using an older autoconf, but YOU have to address the issue because network cannot stay on an autoconf version that will soon cycle out of msys2 anyway. So please, do read my replies. |
Oh dear, that's why I asked to move the discussion to #513, where it's on topic. |
Yeah, I'm sorry I got a bit annoyed there as well... That wasn't very helpful. But I did mention it multiple times already... and the fact is configure packages on Windows are a very big pain. A core package such as network I don't see why it needs it on a static platform like Windows. But we don't have a solution for that atm (you can't have a package be configure on one platform and not on the other). Its frustrating because we're just not in control of much of the ecosystem. and this failure has been a pain which has been met with silence by the autconf maintainers, which gives you an idea of how much they care. So while I appreciate the thought, and appreciate the pain (which is why I mentioned we should do a new release to fix it). We simply cannot guarantee cabal 3.4 keeps being supported on the long run as it is. So yes, I agree because the package was a revision release we should fix it. But for the release after this I think it's perfectly acceptable for network to bump the minor release and drop 3.4. |
Sure, but we have a fix outlined here #513 (comment) |
Workaround for #502
I've explicitly chosen to do a downgrade (since pacman can't install specific version) so that it's easier to remove the workaround later. Just remove the code added here.